package com.open.capacity.prints.service.impl;


import com.open.capacity.prints.dao.SysPrintTreeDao;
import com.open.capacity.prints.entity.SysPrintTree;
import com.open.capacity.prints.service.SysPrintTreeService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class SysPrintTreeServicelmpl  implements SysPrintTreeService{

    @Autowired
    private SysPrintTreeDao PrintTreeDao;


    @Override
    public List<SysPrintTree> findByParentId(String parentId) {
        return PrintTreeDao.findByParentId(parentId);
    }
}
